package com.sean.learnmybatis.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sean.learnmybatis.entity.Order;
import com.sean.learnmybatis.mapper.OrderMapper;
import com.sean.learnmybatis.service.IOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Sean
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {

    @Override
    public void mySaveBatch(List<Order> list) {
        baseMapper.mySaveBatch(list);
    }

    @Override
    public void myUpdateBatchById(List<Order> updateList) {
        baseMapper.myUpdateBatchById(updateList);
    }
}
